javascript replace new regexp