code: function checkIfRelativePath( url ) {
      return url.match( DATA_URI_MATCHER ) ? false : url.match( RELATIVE_TO_HOST_MATCHER ) ? false : !url.match( PROTOCOL_MATCHER );
    }
docs: check if this is a relative (to the document) url
  
  We need to rewrite if the url is relative. This function will return false if:
  - starts with "/", cause it means it is relative to the main domain
  - starts with "data:", cause it means is a data uri
  - starts with a protocol
  
  in all other cases it will return true
  
  @param url the url to test
  @returns {boolean}