update the listener extension to use the native matchesSelector