script.js updated with problematic mouseover function