Remove non script sources.