legacy: import and static files fixes

* Addresses several issues with legacy import and missing style or javascript imports.