Lightweight JavaScript text processor.