diff --git a/src/editor/components/seMenu.js b/src/editor/components/seMenu.js
index 2c766e31..418a43c5 100644
--- a/src/editor/components/seMenu.js
+++ b/src/editor/components/seMenu.js
@@ -52,7 +52,7 @@ export class SeMenu extends HTMLElement {
* @returns {void}
*/
attributeChangedCallback (name, oldValue, newValue) {
- var image = new Image();
+ const image = new Image();
if (oldValue === newValue) return;
switch (name) {
case 'src':
diff --git a/src/editor/index.html b/src/editor/index.html
index 3303c0eb..d84f064b 100644
--- a/src/editor/index.html
+++ b/src/editor/index.html
@@ -84,56 +84,13 @@