fixed typo in head of index.html file (./js.show-alerts.js) and added a
callback on pageshow in the send-alerts.js file