we need to preload globals before everything and routes too,
handlebars require in the compliledTemplates.