integrated votes for comments and posts
added AJAX optimization