What module developers have to change in their JavaScript for Drupal 8. On the JS side it's mostly search and replace: Drupal.settings becomes drupalSettings, Drupal.theme.prototype becomes Drupal.theme. On the PHP side drupal_add_js() and scripts[] are out, scripts are declared as libraries and added with #attached.
Then the why: Drupal 7 ships jQuery 1.4.4 and loads jQuery and drupal.js on every page. And what's new in Drupal 8: jQuery 2, Backbone, Underscore, and APIs like Drupal.announce, Drupal.displace, Drupal.debounce and Drupal.dialog.