rulus.ajax: bugfix with error callback