Change `src/core/jpx.js` to use the `error` utility function instead of using `throw new Error`
src/core/jpx.js
error
throw new Error
div.dataset
WeakMap
text_layer.js