Remove unused event argument
Change object property access to use . instead of []
Minor fix of undefined check
Remove unnecessary semi-colon
Merge pull request #50 from nsue/minor-game-refactoring

Minor game refactoring