add 'contains' for the classList implementation