Pseudoimplementation of the proposed ES6 module loaders.