Hygiene: Clean up editor.js

The code added/preserved in 7173da2d is no longer needed.

Change-Id: I96ac354c9c731a33f61456857c20a7e36ff13e3c
Merge "Hygiene: Clean up editor.js"