Fix ajax method names