window.launchForestBird = function(event){ var div = document.createElement('div'); div.id = 'forest-bird-container'; document.body.appendChild(div); var script = document.createElement('script'); script.src = '//d6dtuk6gd6bhk.cloudfront.net/forest-bird/v1/launcher.js'; // script.addEventListener('load', function (e) { }, false); document.head.appendChild(script); }