only works with latest CasperJS