Networked asteroids in javascript