Improve js env