make JSONP conditional