Using a more object-oriented approach to the JS.
Added Game javascript object and game form.