creating javascript

adding javaScript to find ID spaceship