Update main.js

take out a name to show error