Update overlay.js

This change updates Overlay to be compatible with jQuery 1.9.1
Merge pull request #989 from alibby251/master

Update Overlay to use jQuery 1.9.1