make the urls relative so I can click on them when testing
added a callback url var, which if present will trigger jsonp output using its value as the callback function
json has been added as an alternative name for callback, should mean most js can auto jsonp here
should only wrap json in jsonp