I cant understand how versioned folders would help on this case? I ran on to this issue a long time ago and I ended using pure html for this.
<script src="{{=URL('static', 'js',
args='mylib.js')}}?{{=get_random_number()}}">
This works for me when I need to bypass the cache to get the proper js
loaded on the client.
--

