Is the line var console = require("console"); needed at the top of the jsonpointer.js? I can't see the variable used elsewhere in the file, and it's breaking Webpack when request-promise is used (see webpack/webpack#1019). Would you consider a pull request that removes it?