Create streamconfirm.js