title issues in Opera and Mozilla

due to mozilla and opera browser issues, document.title is replaced with
document.getElementsByTagName('title')[0].innerHTML