Using limit with JavaScript split.string: an Example