Why do you feel you can remove the first argument (e)? Are you sure about that? Are there any other callers besides the this.codeMirrorize(null, ...) in main_settings_view.js?