Removed old js
Added the alert to prompt the user to click Allow