Added api.extensions.hostname to jQuery adapter.