change all id into str, or js selector can't work