code: function getUrlParams(path) {
      if (!path) {
        return {};
      }
      var bits = path.split('?');
      var querystring = bits.length > 1 ? bits[1] : '';
      return toObject(querystring);
    }
docs: Return the query parameters from the provided string
  @param {string} path - Path to pull querystring from, should be location.href
  @return {object} - Dictionary containiner the url parameters