make react namespace object lowercase