For dojoDialog service, we use sync way to load js