typo rev of function splitAt(splitAt) in bbcode.js