A javascript text editor that includes advanced functionality like cloze test generation for language learning