capture exceptions when executing jsonp result script