removed snap.js