Include the query string if there is one when making wijax requests

There's a few standards-based fixes in here, too.

See: https://github.com/GigaOM/legacy-pro/issues/3085