cleanup of dom loading and language string usage in packages