changed config back to snap.js