Jws regex fine tunning