Comments added to portions of script.js

Comments added to portions of script.js