simple require/define loader for es6 modules (react or otherwise really)