// Brequire - CommonJS support for the browser
function require(path) {
  var module = require.modules[path];
  if(!module) {
    throw("couldn't find module for: " + path);
  }
  if(!module.exports) {
    module.exports = {};
    module.call(module.exports, module, module.exports, require.bind(path));
  }
  return module.exports;
}

require.modules = {};

require.bind = function(path) {
  var cwd = path.replace(/[^\/]*$/,"");
  return function(p) {
    p = (cwd + p).replace(/\/\.\//g, "/").replace(/[^\/]*\/\.\./g,"").replace(/\/\//g,"/");
    return require(p);
  };
};

require.module = function(path, fn) {
  require.modules[path] = fn;
};
@@ -528,18 +528,17 @@
 lace(/%5C/
-%5C/
++
 /g,%22/%22);

replace ///.... with /