-removed some clutter from publish.js