Javascript added to script.js file