Created a JS file for the functionality behind the group management page