Add nojs mode. Improve editing.