require('template.jade') instead of require('template.jade.html')