Barebones Karel the Robot interpreter in JavaScript