Updated mocha to v1.18.x and restricted uglify-js version to one that has the needed bugfixes.