When minifying, wrap each file in try/catch

This should be much closer to non-minified behaviour.

There's a big difference between local & production modes with respect to exceptions:

In local mode, the JS files are not minified, and are loaded as a sequence of script tags (one per package).  If there's an uncaught exception in one file, the browser will log it, stop executing that script and continue with the others.

In contrast, in production mode, the JS is minified.  Each JS script is concatenated into one big JS file, which is then minified and served as one script.  Now an uncaught exception causes the browser to stop execution of everything.

There are some subtleties here (Slava pointed out to me that try/catch may interfere with JIT), but it's very possible I missed some other requirements!
.length???