[build][bug] convert to JS <element in set> (bug hidden there for a long time)