Pass data in jQuery adapter