added documentation and changes for old IE versions