deleting bad cut/paste
added support for callback function support for Node events