JavaScript star simulator.