Fix a bug using ajax call to decrement button