switched jqwt to use JSON.stringify

JSON.stringify is much safer than trying to maintain a custom string
escaping function.