Pads a number with preceeding zeros.
@param {Number} n The number object to operate on.
@param {Number} length The final length of the string
@returns {String} The padded number, now a string.
@function
function pad (n, length) {
                    return libs.string.pad(n.toString(), length, '0', true);
                }