fixed deprecation warnings for jade 0.31.+