build js env