Warning: This will pull in all referenced script and style documents. It can have adverse side effects.