Add sourcemaps support

This makes sure that sourcemaps keep working when using it with jsx-loader.