Generic web crawler written in NodeJS with usage of CasperJS