Fix resource import in html