#16 Sorted the broken JS references in the tempalte save