add script.js, abstract hover effects to jquery