Minimized shim with generating more verbose AST (should be easily uglified).
Reopening #2 for processing imported modules with normalized names support.