view.js now passes the tests