To @Sykin's answer, I would add:
Bug
#Bug IfIf you press down and then left faster than the snake takes to slither "one step", the snake turns around and slithers over itself.
Indentation, code style, and code consistency
#Indentation, code style, and code consistency II find that JSLint really helps me get a consistent code style.
Strict mode
#Strict mode
II suggest you use strict mode in your JS, by starting with a line "use strict";