js regex update