clean up and comment casperjs script