bug fix for ajax(), compatibility fix for jsonp()