You don't need to make all these locals like this. Just do:

``
var key;
if (...) {
key =
} else if (...) {
key =
} ...
var aliases = TOUCH_MAP[mouseEvent][key];
...
```

Wouldn't that be shorter/clearer?