Add index.js and hover handlers