removing  trailing comma on view/main.js