update with mocha + phantomJS