Update main.js

adding a missing ')' to line 6