oktw says to #ysitd <DennyHuang>: http://stackoverflow.com/questions/10073699/pad-a-number-with-leading-zeros-in-javascript