Reformatted script.js