refactoring game logic, adding jasmine tests, refactoring front end logic, added jquery