Uri.js
function decode(s) {
    if (s) {
        s = s.toString().replace(re.pluses, '%20');
        s = decodeURIComponent(s);
    }
    return s;
  }
function decode(s) {
    if (s) {
        s = s.toString().replace(re.pluses, '%20');
        s = decodeURIComponent(s);
    }
    return s;
  }
function decode ( s ) { if ( s ) { s = s . toString ( ) . replace ( re . pluses , '%20' ) ; s = decodeURIComponent ( s ) ; } return s ; }
unescape a query param value
@param  {string} s encoded value
@return {string}   decoded value
unescape a query param value