resource injection in private fields
document and HTMLElement impl
implemented hashchange event