do not merge - publish.js review

nice move!