posts sort by votecount using js