Upgrade jade dependency to 1.0 and update templates