Switch to proxy if JSONP is not available