Move component code from `pages/groups/new` to `assets/javascripts`
This is a follow-up on !78637 (comment 818439595)
Generally we try to only have index.js
files that initialize JS applications in the pages
directory. The rest of the code generally goes directly in the assets/javascripts
directory.
For example this component could probably be better served in ee/app/assets/javascripts/groups/components
.