diff --git a/resources/static/dialog/controllers/authenticate.js b/resources/static/dialog/controllers/authenticate.js
index 743b3c856cf6522d342598fd193f3c50231bf2f5..a3192ccbb2a7126ebb8055babe4c67cc6e515122 100644
--- a/resources/static/dialog/controllers/authenticate.js
+++ b/resources/static/dialog/controllers/authenticate.js
@@ -94,7 +94,7 @@ BrowserID.Modules.Authenticate = (function() {
   }
 
   function showHint(showSelector, callback) {
-    hints.forEach(function(className) {
+    _.each(hints, function(className) {
       if(className != showSelector) {
         $("." + className).not("." + showSelector).hide();
       }