T2322
For npm run extension to work properly, browserify must be installed globally. Currently, if the user runs npm run extension without browserify installed globally, some files will be corrupted.
This diff adds a preextension script, so that npm i -g browserify will always be run before npm run extension. This prevents a user from unintentionally building the extension without browserify installed.