updated simple.js mutation handling