function _cleanURL(url) {
        var index = url.search(/[#\?]/);
        if (index >= 0) {
            url = url.substr(0, index);
        }
        return url;
    }
function _cleanURL(url) {
        var index = url.search(/[#\?]/);
        if (index >= 0) {
            url = url.substr(0, index);
        }
        return url;
    }
function _cleanURL ( url ) { var index = url . search ( / [#\?] / ) ; if ( index >= 0 ) { url = url . substr ( 0 , index ) ; } return url ; }
Eliminate the query string from a URL
@param {string} URL
Eliminate the query string from a URL
Remove the query string from the URL