changes to satisfy JSHint