Fretboard study tool in javascript/html