Portal page not being laid out correctly on edge immediately after a restart. Load css before running javascript so that css has been applied when laying out Ext components