amend error with scripts.js link