Fixed alert permissioning, thanks to http://stackoverflow.com/questions/2271156/chrome-desktop-notification-example