[development] Improving drupal.js