結果 : catch javascript errors globally