Separated JS files, added a collection, and views