diff --git a/Bugzilla.php b/Bugzilla.php
index beb348b..048997e 100755
--- a/Bugzilla.php
+++ b/Bugzilla.php
@@ -76,10 +76,10 @@ function BugzillaIncludeHTML( &$out, &$sk ) {
global $wgScriptPath;
// Use remote jquery
- $out->addScript('');
+ $out->addScriptFile('');
// Use remote jquery ui
- $out->addScript('');
+ $out->addScriptFile('');
// Add a local script file for the datatable
$out->addScriptFile("$wgScriptPath/extensions/Bugzilla/web/js/jquery.dataTables.js" );