correct indentation issues in script.js