Moved the JS that collapses sections on /groups to an external script
Making sure all the JavaScript called by /groups is deferred