Minor fixes for newer jade and express packages

Minor fixes for newer jade and express packages.