add confirm js