Try using pre-installed phantomjs.