added method-post-confirm to helper.js