Create pub.js