add new JS function to get QueryString