Some time some javascript functions does not work on some specific browser. I would suggest you to start using JQuery, which gives you normalized JS, taking care of different browser requirement
$('#btn1').each(function(){
this.disabled = false;
});