react should be loaded from index.html