Javascript text editor for website