added loop interval for pub.js