Fix bracket error in views.js