Fixed an ugly JSONP support to support cross domain support (or cross port in my case apparently)