cleaned scripts.js