Change data structure used for ongoing touches

Treating a JS object like an associative array is probably bad for modern
specializing JITs. Instead of doing lookup by identifier, just store them
in a regular array, and do a quick linear search over it. There will
usually be one, maybe two elements.