Writing this in pure JS is incredible, well done!
I unfortunately could not get very far, as I found the controls to be unresponsive. If I pressed aws or d it could take up to a full second before the snake would actually turn in that direction.
Might just be a skill issue on my part though xD
Congrats on your submission!