added callback invocation with MakeCallback in order to support domain and fix the error not called from callback bug
fixed CR comments
Merge pull request #2 from saary/domain_support

added callback invocation with MakeCallback in order to support domain a...