add sourcemap support