Modified publish.js for our toolbar preference (why no preview?)