Update scripts.js

Check out the notes!