app.js
function getURLParameter( name ) {
    return decodeURI(
        ( new RegExp( name + '=' + '(.+?)(&|$)' ).exec( location.search ) || [ null, null ] )[ 1 ]
    );
}
function getURLParameter( name ) {
    return decodeURI(
        ( new RegExp( name + '=' + '(.+?)(&|$)' ).exec( location.search ) || [ null, null ] )[ 1 ]
    );
}
function getURLParameter ( name ) { return decodeURI ( ( new RegExp ( name + '=' + '(.+?)(&|$)' ) . exec ( location . search ) || [ null , null ] ) [ 1 ] ) ; }
get query string parameter
get query string parameter