change datatype of remote ajax

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