mobile detection for sake of tel: link formatting

a little cleanup following the prior commit, which contains the meat of
the changes.