Creating group with html form + js

(instead of only js)