jshint corrections for eventeditor.js