Added code snipped from grunt-saucelabs to get better report