Need to build templates before combining JS