diff --git a/libraries/joomla/document/html/renderer/head.php b/libraries/joomla/document/html/renderer/head.php
index f0007ffd14860..2f2ec07101210 100644
--- a/libraries/joomla/document/html/renderer/head.php
+++ b/libraries/joomla/document/html/renderer/head.php
@@ -221,14 +221,7 @@ public function fetchHead($document)
{
$buffer .= $tab . '' . $lnEnd;
}
diff --git a/libraries/joomla/language/text.php b/libraries/joomla/language/text.php
index 47f308ad892d2..851203c72efde 100644
--- a/libraries/joomla/language/text.php
+++ b/libraries/joomla/language/text.php
@@ -355,6 +355,9 @@ public static function script($string = null, $jsSafe = false, $interpretBackSla
{
// Normalize the key and translate the string.
self::$strings[strtoupper($string)] = JFactory::getLanguage()->_($string, $jsSafe, $interpretBackSlashes);
+
+ // Load core.js dependence
+ JHtml::_('behavior.core');
}
return self::$strings;