diff --git a/app/views/account/index.html.haml b/app/views/account/index.html.haml
index 5c2c139d7..7ad48af23 100644
--- a/app/views/account/index.html.haml
+++ b/app/views/account/index.html.haml
@@ -6,3 +6,5 @@
=text_field :account, :secret_key, :class => :text, :value => current_user.spell
=submit_tag t(:generate), :class => "submit red button large"
=raw(call_hook :account_setting_item)
+= content_for :javascripts do
+ .script_in_account_setting= raw(call_hook(:script_in_account_setting))