matchesselector.js fix