Javascript that types out an array of words like an old typewriter/console