fixed ajax for voting on posts