Client side unit test setup - using mocha + phantomJS