Box2D running in a Web worker controlled by
Page Visibility API
Read matching blog post for explanation