add js sourcemap support