a unified interface for compiled languages and templates in javascript