Use string buffer

String buffer is slightly faster than array buffer.
http://jsperf.com/skim/2