JARVIS-417 refactored jade layout to include 404/500