more robust method to replace anchor tags with meteor router calls