Update Group.js

I do not know if this is a valid change, at least with TypeScript defs I cannot really break anything :P 

This solved all my destroy/shutdown problems.