Update publish.js