fixed jade and express problems from old code