can't reproduce the script error on my simple page... as of now what i'll do is just to encode the string then just replace the encoded strings """ substring to the normal double quote which coolite can handle on normal ajaxevent