getElementsByTagName doesn't work in FireFox 10