addition of getQueryVariable function to globs.js