Refactored code:
- Old main.js
- New jquery.flappy.js