Javascript star field simulation