Chord Voicings

Here's another pass at the 'chord voicings' program, this one as an attempt to teach myself Javascript.
Chord to find:
Choose an alternate tuning: