--- weight.module_ 2008-09-26 18:59:28.000000000 -0500 +++ weight.module 2009-01-08 21:10:39.000000000 -0600 @@ -355,10 +355,9 @@ function weight_disable() { function weight_node_selector($nid) { static $js_included; - if ( !$js_included ) { -// drupal_set_html_head(''); - drupal_add_js('module', 'weight') .'/httpRequest.js'; + if (!$js_included) { + $path = drupal_get_path('module', 'weight'); + drupal_add_js($path .'/httpRequest.js', 'module', 'header', TRUE); $js_included = TRUE; }