Set backgrounds for divs in JavaScript.
Add hover handlers to divs.