. added total div
. added downvote javascript