load code-prettify js, css and mathjax conditionally to speed up