substitute_minor_for_major to progressions.js