improved JSONP fetching robustness and fixed scale dialog bug