fixes path to css and js files in layout.html