adding casper and phantom to the package.json