adding simicolons in the right places to script.js