Update paths and instructions to standardise on installation to node_modules.

Also adds a jshint pragma to avoid complaints about style errors caused by some third-party code.