Code for HTML5 game -I Hate Rabbit