js confirm wrapper (AMD, Bower)