groups.js location fix