small fixes to jade templates