do not merge - publish.js review

sure, I'll order all of this nicely with the final version