added ajax for up and down votes