Fix errors in the jade template