add front.js as the template engine