Updated templates to work with the latest version of jade