web: RElem.ElemWrapper: decrease memory usage