  var firepadRef = firebase.database().ref("/team/" + getID());
  var headless = new Firepad.Headless(firepadRef);
  
  headless.getText(function(text) {
    if (text == ""){
      alert("There's no project called '" + getID() + "'. Sorry :(")
    } else {
      runCode(document, text, (e) => console.error(e))
    }
  });


</script>
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.g