Make sure drupal.ajax is loaded.