Correct multiple ajax issue on date click