moved chordcircle to its own js file