Added snap.js