Create flappy.js