The ajaxStart/ajaxStop functions were being called before the document was ready and the 'ajax-indicator' element existed. This meant that they would never be called when an ajax event happened.