Only require selector/_loader when DOM present. Fixes #17138.
Fix typo in CONTRIBUTING.md, refs #17189. Thanks @Maastermedia.