Refactor & compile front-end assets