code: function showError(message) {
      $(document.createElement('div')).attr({'class': 'popup-error'})
        .append($(document.createElement('div'))
                 .attr({'class': 'error-message'}).text(message))
        .appendTo('body')
        .fadeIn("slow")
        .delay(2000)
        .fadeOut("slow");
    }
docs: Flash an error message briefly.