js confirm in channels