removed casperjs dependency