A little bit of formatting
Refactor js code into a big 'Game' object.