do not load script resources in the main document