--- modules_quickjump.module (saved version)
+++ (current document)
@@ -4,14 +4,8 @@
 /**
  * modules_quickjump_form_alter implements hook_form_alter
  */
-function modules_quickjump_form_alter($form_id, &$form) {
-  // This is not the form_id I was expecting.  Is the module form special in some way?
-  if (is_array($form_id) 
-    && isset($form_id['form_id']) 
-    && is_array($form_id['form_id']) 
-    && isset($form_id['form_id']['#value'])
-    && $form_id['form_id']['#value'] == 'system_modules'
-  ) {
+function modules_quickjump_form_alter(&$form, &$form_state, $form_id) {
+  if ($form_id == 'system_modules') {
     // insert the js
     drupal_add_js(drupal_get_path('module', 'modules_quickjump') . '/modules_quickjump.js');
   }
