window.InitMochaphantomjs ();


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