code: function (url) {
              return url
                  .replace(/[\/]+/g, '/')
                  .replace(/\/\?/g, '?')
                  .replace(/\/\#/g, '#')
                  .replace(/\:\//g, '://');
          }
docs: /*
  Normalize an url
  @url : url to normalize