Update script.js

testing speed issue