Adding anchor tags to links

I've added some code to highlight and tag links when found in the chat
message.
code:
var urlRegEx =
/^(((http|https):\/\/)?[a-zA-Z0-9]+(\.[a-zA-Z0-9]+)+.*)$/gi;
var u = t('<div class="message"></div>').html(n.body.replace(urlRegEx,
"<a href='http://$1' target=\"_blank\">$1</a>"));

(Sorry if this isn't quite ordered, its my first time "contribution"/pull request, I hope it helps! )

Agam