Break code in factory into its own GameEvent class.
Merge branch 'master' of github.com:charliecalvert/JsObjects