Increment comments for new post through javascript