Fixed script.js for the notification in index.html