Uses the StringBuilder.js library.