revise first game js