window.initmochaphantomjs ();


  <script>
    window.initMochaPhantomJS && window.initMochaPhantomJS();
    mocha.setup('bdd');
  </script>
Inquisitive Ibis