add a SequenceMember js helper to implement deletion
Move list insertion logic into sequence.js (and populate the 'index' field on sequence members)
reassign indexes on deletion