split out js css and views