add the possibility to pass a domain var to toastr or noty