adding regex to reimport javascript escaped strings when importing html