simple text editor with local-storage