Replaces css and js links with file contents