fixing cross-site post bug in IE 8/9