Added options to add groups in admin.js.