Javascript that converts fluid text into fixed-width (e.g. 80-char) text and back