code: function handleDocumentKeyup(e) {
    if (overlay && e.keyCode === 46 &&
        e.target.nodeName.toLowerCase() !== 'textarea' &&
        e.target.nodeName.toLowerCase() !== 'input') {
      deleteAnnotation();
    }
  }
docs: Handle document.keyup event
  
  @param {Event} e The DOM event that needs to be handled