Init (swith from ReactJS to FlightJS)