add sourcemaps support