fix casperjs in wrong dir