Remove unused imports
Use hard-coded static url on error pages

This is not perfect, since if the static route ever changes, the
error pages will not render properly. However, it means that there
is less work to do to render error pages (which is particularly important in
the case of Server Errors, where doing more processing is not ideal).