added method isAjax which somehow got removed through transitions