Added documentBaseURL to allow for rendering of resources with a relative path, located elsewhere then localhost:9000.