HTML5/jQuery Tank Platformer