updated formatting in scripts.js