Update snapshot.js.