use no file extension
change file extension to .html.js
use existing require if available