addEventListener only if attr is 'value'