Add check for $.ajaxTransport so this won't bomb in jQuery < 1.5