created a new js voting control for posts