@fat How about
```
$('[data-ride="carousel"]').on('keydown', function (e) {
```