index.js
function(href) {
		var url = extract(href)
		var queryObj = omit(url.qs, this.config.excludeRequestParams)

		var desiredUrlParams = Object.keys(queryObj).map(function(paramName) {
			return paramName + '=' + encodeURIComponent(queryObj[paramName])
		}).join('&')

		return desiredUrlParams ? url.url + '?' + desiredUrlParams : url.url
	}
function(href) {
		var url = extract(href)
		var queryObj = omit(url.qs, this.config.excludeRequestParams)

		var desiredUrlParams = Object.keys(queryObj).map(function(paramName) {
			return paramName + '=' + encodeURIComponent(queryObj[paramName])
		}).join('&')

		return desiredUrlParams ? url.url + '?' + desiredUrlParams : url.url
	}
function ( href ) { var url = extract ( href ) var queryObj = omit ( url . qs , this . config . excludeRequestParams ) var desiredUrlParams = Object . keys ( queryObj ) . map ( function ( paramName ) { return paramName + '=' + encodeURIComponent ( queryObj [ paramName ] ) } ) . join ( '&' ) return desiredUrlParams ? url . url + '?' + desiredUrlParams : url . url }
clearURL takes url string as input and remove parameters, that are
listed in config.excludeRequestParams
@param	{string} href
@return {string}
clearURL takes url string as input and remove parameters that are listed in config . excludeRequestParams