add cli arg and env var for specifying js bin