fetch('link-to-external-js-library')
.then(response => response.text())
.then(text => eval(text))example, loading lodash:
fetch('https://cdn.jsdelivr.net/npm/lodash@4.17.15/lodash.min.js')
.then(response => response.text())
.then(text => eval(text))