added snap.js to the view now