Cleanup whitespace and jQuery calls in editor.js

Change-Id: I49d516cdfcd7b8f943dec03675f4924cbfd946a1
Merge "Cleanup whitespace and jQuery calls in editor.js"