changes to overlay.js for presentation