fixing jshint findings for community component