fix toolbar.js, now ready to put buttons in it