Fix for robots data passing from server to client
Fix for scope in RobotControllerClass.js, and for main.js