Made changes to test view
Fixed some things for jshint