Two negligible cleanups in item_editor.js