Update view.js

added prototype for goFirstSlice
Merge pull request #90 from mohamedsharaf/patch-1

Update view.js