implemented the jsonp callback in the GET function