Update snips.js