js env. - in progress