HTML5 Game Engine in PHP and node.js