クロームでオートコンプリートを使って入力するとフォーカスが抜けてもまだフォーカス扱いになる。
なので下記で対応

if(navigator.userAgent.indexOf("Chrome") != -1){
document.form1.autocomplete='off';
}