Update main.js

Fix missing ] after element list