Exporting sourcemaps

Fixes #30
Why is this commented out? Please do not leave unintended code in the sources (if you absolutely have to add an explanatory comment).