delete some stuff
snap.js to onsnap.js