Correct errors due to recent changes in html and jade