Stop using `.contains`, it is only supported by FF.