make javascript address matchers accept arrays