adding jade middleware to express if views option is provided in config