Do not clobber window.ENV.
Merge pull request #922 from rjackson/do-not-clobber-env

Do not clobber window.ENV.