Modified creation of language and script

Now copies @langcode onto `<language>` and @scriptcode onto `<script>`.
Previously copied those as element values for language and scriptcode.
Element value for language now copied over, or filled with value of
@langcode. script value filled with value of @scriptcode