In-browser code editor (with a fix for PhantomJS)  http://codemirror.net/