Add functionality to rollovers.js