added planet assets and seperated out input from display in the javascript