changed log call to return jsonp