var found = logins.some(function(l) { matchingLogin = l; return (l.username == username); }); 
if (!logins.some(function(l) { match = l; return currentLogin.equalsIgnorePassword(l); })) 
                    var found = logins.some(function(l) {                                                matchingLogin = l;                                                return (l.username == username);                                            });
5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5459/6ccd2aa9c9d8760e31362abc1f3a246dd9a8724f/nsLoginManager.js/buggy/toolkit/components/passwordmgr/src/nsLoginManager.js