setup casperjs to run from node.js