[Preprocessor] Bug Fix: Js replace