use mocha, chai and PhantomJS