HTML5 Node Based Strategy Game