excape double qoute and newline for js string