Added indexOfByProp and supportsTouch functions