clean up jshint issues introduced by #10