Game Project using html5 and javascript