JSONP is used to get around the issue where an ajax call goes out to another domain. Ajax calls are usually on the same domain. Cross-domain calls are not permitted for security reasons, so when you know security isn't an issue, then that can be circumvented using JSONP with a callback.