update snap.js to v2.0.0-rc1