added beginning slash to included js and css in main view, caused bug on dynamic routes