Update view.js

Removed templates reference