handle ES/6 dependencies when building the demo