diff --git a/templates/identity/email-password/register-partial.html.ejs b/templates/identity/email-password/register-partial.html.ejs
index 638f3a5b4..b4e2ee6c6 100644
--- a/templates/identity/email-password/register-partial.html.ejs
+++ b/templates/identity/email-password/register-partial.html.ejs
@@ -1,5 +1,7 @@
-<% const isBlankForm = !('prefilled' in locals); %>
-<% prefilled = locals.prefilled || {}; %>
+<%
+ const isBlankForm = !('prefilled' in locals);
+ prefilled = locals.prefilled || {};
+%>