Updated app.js with new sequencer functionality.