Clean up tank.js