wrap css and js to block in layout, fix paths in test