Using Antigravity for Statistical Physics in JavaScript