Set paths to css and js files to be relative to root.