fix weird nodejs length/index

Support loading TEMPLATE_PATH/katex_config.json.

(0) -30 -10 -2 +2 +10 tip

mercurial