Updated script.js

Added the output section of the code.  I also updated two variables to
better suit the output