invoke callback function with provided scope or the scope of the functio...

...n itself if no scope is provided