OOifying JS
Need to transfer JS game data to controller/save to database