Changed to use jQuery for basic templates, will be useful when creating resource pages.