Protect from double run
Since the grunt mocha runner will run mocha in PhantomJS,
the mocha.run() command should not be in the script of the page.
In a regular browser, it is needed.