exclude js, mailto and tel from handlePageLinks