adding js regex