NodeJS match with regex gets last word than after space