renew view.js