added model.js and view.js to index.html