Fixing warning in bootstrap.js