Updated script.js

Added the output to script.js.  This is the final version