Implements window.onerror specification on node.js