Simplify event calls

Remove useless $.each:
```JavaScript
$('x').each(function() {
   $(this).on(...);
});
```
can be simplified in
```JavaScript
$('x').on(...)
```