Edit votes ajax bug