A simple typewriter effect for JavaScript.