changes for jade upgrade to 1.0, fixing app config for underscore global.