Replacing .innerText property with standards compliant .textContent.
Adding -webkit- prefix to css3 animation rules to support Safari.