If katex.js is not found run cd js && npm install, for which js/.npmrc is required (see js/.npmrc.example).