applying patch from jbergknoff/cucumber-js