tweaking the module system a little bit - allowing reloading to
propagate to the document environment, allowing the exports object to be
replaced with a new object. ready to get jasmine running now