fix view for server-side rendering and add comments
ignore npm-debug