Made HTML error codes a top-level variable