JSONP and test fixes for fails in IE