Use this function to find all script elements containing some word and refresh them.
function forceReloadJS(srcUrlContains) {_x000D_
$.each($('script:empty[src*="' + srcUrlContains + '"]'), function(index, el) {_x000D_
var oldSrc = $(el).attr('src');_x000D_
var t = +new Date();_x000D_
var newSrc = oldSrc + '?' + t;_x000D_
_x000D_
console.log(oldSrc, ' to ', newSrc);_x000D_
_x000D_
$(el).remove();_x000D_
$('<script/>').attr('src', newSrc).appendTo('head');_x000D_
});_x000D_
}_x000D_
_x000D_
forceReloadJS('/libs/');
_x000D_
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>_x000D_
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.23/angular.min.js"></script>
_x000D_