A lightweight and modular front-end framework