Code review for stringutils.js