Assignment Ajax for Post and Comment voting