only skip writing if *neither* css or js were found