update envjs,add golbal window