Fixed issue with scripts.js