comps demo works on js target