Create snippet.js