REINDENTED script.js