diff --git a/budget/templates/add_bill.html b/budget/templates/add_bill.html
index 346a16da..595f3637 100644
--- a/budget/templates/add_bill.html
+++ b/budget/templates/add_bill.html
@@ -2,9 +2,6 @@
{% block js %}
$('#cancel-form').click(function(){location.href={{ url_for(".list_bills") }};});
- $.datepicker.setDefaults({'dateFormat': 'yy-mm-dd'});
- $(".datepicker").datepicker($.datepicker.regional['{{ g.lang }}']);
-
{% endblock %}
diff --git a/budget/templates/layout.html b/budget/templates/layout.html
index 71ad5e81..8e6d3b2e 100644
--- a/budget/templates/layout.html
+++ b/budget/templates/layout.html
@@ -8,6 +8,7 @@
+
{% block head %}{% endblock %}