posts can be upvoted
aded js
added specs with js