Grunt automation using phantomjs