Update publish.js
Removed test