code: function libraryOrValue (libraries, value) {
    if (!value.split) return value
    libraries = libraries || {}
    const namespace = value.split('.')
    const libNames = Object.keys(libraries)
    if (namespace.length !== 2) return value
    if (libNames.indexOf(namespace[0]) === -1) {
      return value
    } else if (Object.keys(libraries[namespace[0]]).indexOf(namespace[1]) === -1) {
      return value
    } else {
      return libraries[namespace[0]][namespace[1]]
    }
  }
docs: Matches a given string to a library namespace and
  returns either the library (for a match) or the original
  string (if no match)
  
  @param  {Object} libraries - The known libraries
  @param  {String} value - The String to try as a namespace
  @returns  {Mixed} - returns either a library, or the original value