Fix typos in views.js