Store restructure + performance optimizations

Removed old scripts and polyfills, added more rendering delays, load
time performance monitoring, fixed a bug in the widget utils and fixed
missing dependencies.