support legacy jquery