Typewriter effect for paragraphs and headers in javascript.