code: function(windowOverride) {
        var loc = windowOverride ? windowOverride.location : window.location;
        var match = loc.href.match(/#(.*)$/);
        return match ? match[1] : '';
      }
docs: Gets the true hash value. Cannot use location.hash directly due to bug in Firefox where location.hash will always be decoded.