test embedding JS on Segment.io