service refactor and addition of "path" option
add JSONP check support