added a script to scripts.js