Big changes to js.
Moved functions from index.js to game.js
Merge remote-tracking branch 'origin/master' into ui_unit_tests
Merge master into ui_unit_tests.
Fixed what the merge broke.
Added morejs to test_game.html
Merged in master.
Merge pull request #60 from courageousillumination/ui_unit_tests

Ui unit tests