try fix #1081

change datatype of remote ajax request to accept text, json type will cause parse error when parsing string. test: http://jsfiddle.net/C8q84/