I have a pull request for my changes in on this project. My hope is that it'll get merged and we can go back to using the official version. https://github.com/ronaldlokers/grunt-casperjs/pull/33