A JavaScript robot for FIghtCodeGame