Add example to pad a number in javascript