loadjs = function (url, callback) {
    const script = window.document.createElement('script')
    script.src = url
    script.onload = callback
    window.document.head.appendChild(script)
  }
Load JS in browser environment.

@param {string} url - URL of JavaScript file.
@param {function} callback - Callback to invoke after script loads.
@memberof inner