Initial commit. Recognizes script and non-script fragments in a source document