Update script.js

close debug flag