Add current code to script.js