Pessimo software che cerca di interpretare la versione del browser analizzando l'user agent.
A parte buttare tutto e ripartire da zero, dovresti poter "tappare il buco" rimuovendo queste righe di codice JavaScript
if (this.min == false){
alert('Your browser may not be able to handle this page.');
}