Fix ajax buttons and calls.