An experiment of building a game with HTML5 + JavaScript