--- weight.module.orig	2008-10-02 10:26:54.000000000 -0700
+++ weight.module	2008-10-02 10:43:31.000000000 -0700
@@ -353,14 +353,7 @@
  * Generate JS code for selecting individual node weights on admin page
  */
 function weight_node_selector($nid) {
-  static $js_included;
-
-  if ( !$js_included ) {
-//    drupal_set_html_head('<script type="text/javascript" src="'. base_path() .
-//      drupal_get_path('module', 'weight') .'/httpRequest.js . '"></script>');
-      drupal_add_js('module', 'weight') .'/httpRequest.js';
-    $js_included = TRUE;
-  }
+  drupal_add_js(drupal_get_path('module', 'weight') .'/httpRequest.js', 'module');
 
   $selector_template = "\n" ."<form><select style=\"margin: 0;\"
     onchange='httpRequest(\"GET\", \"" . base_path() .
