Autofill elements using JavaScript template libraries.