Compilation framework for browser assets