don't ignore jshint
remove unused vars; clean up formatting
read output before