Allow data functions to take an object of key/values
Add matchesSelector implementation for IE9