Add view.js
include view.js in html page