modified js/post.js