change json response content type to text/plain for ie compatability
add isajaxrequest check in post to handle browsers that do not support XMLHttpRequest level 2