docs: function getCurrentDocumentUrl() {
              var $activePage = $("body").pagecontainer("getActivePage");
              if (null == $activePage) {
                  return $.mobile.path.documentBase.hrefNoHash;
              }
              var base = $.mobile.path.documentBase.hrefNoHash;
              var url = $.mobile.activePage.closest(".ui-page").jqmData("url");
              if (!url || !$.mobile.path.isPath(url)) {
                  url = base;
              }
              return $.mobile.path.makeUrlAbsolute(url, base);
          }