Fix #1343: Add a RetryingComJSEnv and use it for CI

Indentation issue: first 4 spaces, then 2.