change directory structure for babel compatibility