Most is correct, getting a TypeError:

Object function (...) has no method 'ajax'