Customization of Bootstrap.js to prevent well-known error