Updated toolbar.js file