Add console logging for persona errors
Build javascript bundles when the app starts.
Start using `require` instead of god object