Refactor front-end to be less bulky (code&markup wise), easier to modify (code&markup wise). To this extent possibly consider droping/adding some libraries and tooling. Add some sort of linter & formatter