Add flight and requirejs