adding basic support for sourcemaps