HTML5 JavaScript implementation of Battle City