Async embedded JavaScript templates for node and the browser