look up MathJaxPath with require.resolve