Lightweight code editor written in JavaScript