fix some jshint issues (4)