more jshint fixes (ref #22)