why are we using data-* attributes instead of just having nunjucks render the .js file itself. It's better to have the .js file as seen by the browser be done, rather than needing data-attr extraction.