added ajax for post voting