javascript posting new chords written