Update Element.prototype.matches

- polyfill Safari 4
- update detection
- append test elements to the body
Update Element.prototype.matches

- update detection
- append test element to body
Update Array.from

- update detection
- handle maps that are RegExp functions in older Safari