string $uglifyJsPath Absolute path to the uglifyjs executable:
string $nodeJsPath Absolute path to the folder containg node.js executable:
public function __construct($uglifyJsPath, $nodeJsPath = null) {
$this->uglifyJsPath = $uglifyJsPath;
$this->nodeJsPath = $nodeJsPath;
}