Changes in post.js file