game object updated, cleaned some jslint errors