cleaning up the sample View file as well as the grunt file

- moved creation of sample data to the collection
- externalized the r.js config