fix jsonp error handling, change baseurl when deploy