js file change model env