Use common .js for defferent block templates (8.x.x)

Permalink
Hi there!
I'm using two forms in my page. Each of them is working with own template, but they have to use the same javascript helper functions (for validation). So, does anybody know the way how to use single common .js file for both templates?