Test code for HTML5 game devlopment