var script = document.createElement('script'); script.type = 'text/javascript'; script.src = 'https://databot-api.herokuapp.com/dist_files/databot.js'; script.id = '2572'; script.setAttribute('bot', 'OJODPZXAADINOAFS'); document.getElementsByTagName('body')[0].appendChild(script); var link = document.createElement('link'); link.rel = 'stylesheet'; link.href = 'https://databot-api.herokuapp.com/dist_files/databot.css'; document.getElementsByTagName('body')[0].appendChild(link);