Update overlay.js

needs `e.preventDefault();`