fixes in turtlerace.js