Adding snake.js