Optimise the grunt casper task definition