minor clean up in posts.js and comments.js