clean spaceship.js