fixes javascript support in cucumber