Fix adding users javascript