Fix console printing in storage.js

Test Plan:
- None
Add minified json

Test Plan:
- None
Split out minification code for re-use in main app

Test Plan:
- Make sure I can still run the minification tool
Fixes for minification

Test Plan:
- Make sure everything loads fine and works.
Load the minified json file instead of the full one

Test Plan:
- Make sure everything still works when disabling the cache