Replaced array.join('') to string += concat.
array.join is slower than += in modern javascript engines including V8.

See `http://stackoverflow.com/questions/7299010/why-is-string-concatenation-faster-than-array-join`