refs #3490 JS lint + add test for Segment `userId` Auto Suggest
and restore Transitions tests which I deleted by mistake earlier