fix(*): align with cockpit and fix require-js loading