My simple javascript game