Made static 404 pages and removed denugging js from view_doc