Javascript Error Catcher plugin for jquery