Compile ejs templates for the browser.