update JS for example chord, WIP on the deleting of chord