fixed matchesselector.js