Javascript Number leading()
leading()
Number.prototype.leading = function(){ return this <= 9 ? '0' + this : this; };