small changes to overlay.js to fit API data