do not merge - publish.js review

huh, dunno)