diff --git a/noie6.module b/noie6.module
index 5e44a90..764063f 100644
--- a/noie6.module
+++ b/noie6.module
@@ -161,9 +161,7 @@ function noie6_process_html(&$variables) {
     */
     
     /* This is the way around */
-    if ($module_path[0] != '/') {
-      $module_path = '/' . $module_path;
-    }
+    global $base_path;
     $variables['scripts'] .= '
       <!--[if lt IE 7]>
         <script type="text/javascript">
@@ -171,7 +169,7 @@ function noie6_process_html(&$variables) {
             widget: "' . $clean_widget . '"
           };
         </script>
-        <script type="text/javascript" src="'. $module_path .'/noie6.js"></script>
+        <script type="text/javascript" src="'. $base_path . $module_path .'/noie6.js"></script>
       <![endif]-->
     ';
   }
