Testing asteroids code on webpage. Java vs Javascript checking.