Add an timeout function to the notifications

You can also use the magic `isHTML = !!isHTML` to enforce a boolean :wink: