function handlePermission(permission) {
        // set the button to shown or hidden, depending on what the user answers
        if (Notification.permission === 'denied' || Notification.permission === 'default') {
        } else {
        }
    }
// function to actually ask the permissions

function to actually ask the permissions
function to actually ask the permissions
function handlePermission(permission) {
        if (Notification.permission === 'denied' || Notification.permission === 'default') {
        } else {
        }
    }
function handlePermission ( permission ) { if ( Notification . permission === 'denied' || Notification . permission === 'default' ) { } else { } }
function to actually ask the permissions
function to actually ask the permissions
// set the button to shown or hidden, depending on what the user answers
