add core for dom class in core.js