updated script.js comments