Add missing import for the Element constructor inside main.js.