Removed in_groups_of.js and placed inline in function closure