add confirm
regen js