controller changes to acomodate JSONP