add js for add group field