Add explicit wait to JS transcript tests