Finished Script.js file