Javascript game inspired by the famous Flappy Bird