encode queries before use them with the url in the urlopen() method
* creating an sequence of two-element tuples with the queries gotten from the ajax calling instance
* use that sequence of tuples with the urlencode() method to create the encoded string of queries