us js to find groups