fixup jshint; use lets
docs