changes for casperjs installation on travis