Update environment.js

add getOS