remove unused variable QueryString

move toUpperCase method outside foreach
Merge pull request #2 from azbykov/optimized

remove unused variable QueryString, move toUpperCase method outward foreach