ported error pages to jade