convert both $http calls to use jsonp.