Recursive handlebars templates precompilation