Minor changes to tank.js.