simplify casperjs check by using Gulp