disable JS in the edited document