install casperjs and phantomjs only if it does not exists