hashresolver now uses getElementById instead of querySelector