Code cleanup aan scripts.js

code cleanup