Cleanup code in group.js. Enable chaining for all methods of group.js.
Test if rotationCenter exists.