Fixed bug in checking of callback vs jsonp parameter in api calls