Update overlay.js

added preventHide2