Javascript String Repeater
String.prototype.repeat = string.prototype.repeat || function (rptCnt) { return new Array(rptCnt).join(this); };