Fixing logger statement
Better error handling when screenshots not generated
Cleanup, jslint fixes
Jslint fixes
Merge branch 'master' into reportingFix