update js escape string