PCRE for javascript