HTML: turn browser into a notepad (variant)