js file organization, views as classes, pre-demo view