Removed unused attributes and moved some related functions together

- Some things in game were attributes, but were only used locally in a function, so I made them locals instead
- Moved more game-specific logic from berzerk.js into game.js
- Made a LEVELS constant, in anticipation of multiple levels
- Moved all the draw functions and event functions into one place