HTML5 game prototype sample