Javascript Date Format - Displaying month as xx
<p>How can the below code be modified such that the date will appear as: 30/01/2013 as opposed to its current state of: 30/1/2013?</p>

<pre><code>var d = new Date();
var xdate = [d.getDate(), d.getMonth()+1, d.getFullYear()].join('/');
</code></pre>
