external javascript cache code example
Example: external javascript files can be cached
$(document).ready(function() {
var e = document.createElement("script");
e.src = "//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js";
var t = document.getElementsByTagName("script")[0];
t.parentNode.insertBefore(e, t)
});