Create publish.js