--- worldclock.module	2008-04-26 21:03:37.000000000 -0700
+++ worldclock.module	2008-04-28 21:53:41.000000000 -0700
@@ -569,6 +569,10 @@
     'access' => user_access('access administration pages'),
     'type' => MENU_NORMAL_ITEM,
   );
+
+  $path = drupal_get_path('module', 'worldclock') . '/worldclock.js';
+  drupal_add_js($path);
+  register_location_array();
   
   /*---- for Drupal 6.x ----
   $items['admin/settings/worldclock'] = array(
@@ -581,20 +585,4 @@
   );
   */
   return $items;
-}
-
-/** 
- * Init hook
- */
-function worldclock_init()
-{
-  // NOTE: adding javascript at the hook_footer() does not work
-  //       with Drupal 6.x. So we use hook_init() which works with
-  //       both Drupal 5.x and 6.x.
-
-  $path = drupal_get_path('module', 'worldclock') . '/worldclock.js';
-  drupal_add_js($path);
-
-  register_location_array();
-}
-?>
+}
\ No newline at end of file
