padRight = function (string, chars, sign) {
    return string + (new Array(chars - string.length + 1).join(sign ? sign : "0"));
}
Should be called to pad string to expected length

@method padRight
@param {String} string to be padded
@param {Number} characters that result string should have
@param {String} sign, by default 0
@returns {String} right aligned string