Update lib/View.js