fix some jshint issues (2)