Using js file with imported modules in html

In which case can't you use fetch to grab this data and process it client side?