added ajax for the comments and posts voting controllers