begining of script.js