Gravity based mouse game in using HTML5 and Javascript API