[html hint] Fix bad require call

another fix for #2978