I'm adding scripts to my index.html file dynamicly, when adding the scripts I also want to add a query string containing the file version.
for this I've done this
var src = 'app/core.js?201701051511',
script = document.createElement('script');
script.type = 'text/javascript';
console.info('src : ', src)
script.src = src;
script.async = true;
document.getElementsByTagName('head')[0].appendChild(script);
However when I look in my browser console there's no querystring attached to the src of the generated scripts, how come?

<script type="text/javascript" src="app/core.js?201701051511" async=""></script>