fix jshint lint check failures see #4