增加捕捉js错误的支持。
Merge branch 'dev' into gh-pages