example view now with layouts, added main js file