jshint DRY