Improvement of the jsonp sample