Update snake.js

Missing strict mode declarative