add config for js unit tests