fix #1474 IE8: double click anywhere issues script error.
fix hljs undefined error in main site