Flappy bird game in js