flappybird using javascript with html5