Update environment.js

add getOS
Update changelog.txt