Fix bug in posts.js
Display upvoting error messages