working OO javascript refactor, still missing 'player' model