nice-try

Tries to execute a function and discards any error that occurs

domain-browser

Node's domain module for the web browser. This is merely an evented try...catch with the same API as node, nothing more.