update for Galileo FOC 1,2. I guess Javascript part has been completed