Update assets/js/bootstrap-confirm.js

Small organization in the code.