code: function searchFormSubmitted(e){
      e = e || window.event;
      e.preventDefault();
  
      // If there's no selected item, do nothing
      if(!selectedItem) return false;
  
      // Otherwise, jump to the page
      window.location.href = relativeDir + selectedItem.getAttribute('data-value');
  
      return false;
    }
docs: ## searchFormSubmitted
  
  Called when the user hits enter on the search form
  so find the selected item and jump to that page
  
  @param {FormSubmitEvent} e The submit event