MDL-36990 feedback - added check for ->enableajax