var currentDate = new Date();
var currentMonth = currentDate.getMonth() + 1;
then currentMonth is a number, which you can format as you want, see this question that will help you with formatting: How can I format an integer to a specific length in javascript?