Moved context querystring to end of JS-generated beacons (fixes #204)