Update jquery.inGroupsOf.js

Edited to return jQuery array of groups