try this

This seems to have fixed your issue in my testing. You can't use require to load html.