Update view.js

dumb little error