Do not rely on ECMAScript 6.0 to support Firefox 22. Don't use String.repeat.