Refactor client side assets to minimize public-facing code and improve build process.
Log uncaught exceptions