js linkify functionality