updated getURLParameter() in global.js to use "#" instead of "?" if possible