do not merge - publish.js review

will fix this in the next commit