A port of RobotKarol to javascript