Mobile-first JavaScript template engine