support older version jQuery