fix weird nodejs length/index

Support loading TEMPLATE_PATH/katex_config.json.

Oops

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

mercurial