fix outgoing_links for stage/-dev (bug 1097975)

https://bugzilla.mozilla.org/show_bug.cgi?id=1097975

r? @ngokevin 
turns out concatenating is marginally faster in Firefox and Chrome (at least in this case):

http://jsperf.com/string-concatenating-vs-array-joining