Batty game remake using HTML5 and JavaScript