結果 : how to catch uncaught error in javascript