dom/core: to optimize for gzip, no longer declare self as this