Remove unused code from environment.js
Remove unused code from environment.js

We can't get anything from window in config/environment.js, because it's run at
compile time, not at run time.

fauxton/travis-web,jlrigau/travis-web,travis-ci/travis-web,fauxton/travis-web,travis-ci/travis-web,fotinakis/travis-web,fotinakis/travis-web,Tiger66639/travis-web,mjlambert/travis-web,mjlambert/travis-web,2947721120/travis-web,Tiger66639/travis-web,2947721120/travis-web,jlrigau/travis-web,jlrigau/travis-web,fotinakis/travis-web,fauxton/travis-web,2947721120/travis-web,Tiger66639/travis-web,mjlambert/travis-web,fotinakis/travis-web,mjlambert/travis-web,travis-ci/travis-web,jlrigau/travis-web,Tiger66639/travis-web,travis-ci/travis-web,2947721120/travis-web,fauxton/travis-web