Added detection and replacement for touch and click type links