diff --git a/core/layout_api.php b/core/layout_api.php
index b83a417c6f..6b0ef5074e 100644
--- a/core/layout_api.php
+++ b/core/layout_api.php
@@ -349,7 +349,9 @@ function layout_login_page_begin() {
# Advertise the availability of the browser search plug-ins.
echo "\t", '' . "\n";
echo "\t", '' . "\n";
-
+
+ html_head_javascript();
+
event_signal( 'EVENT_LAYOUT_RESOURCES' );
html_head_end();