Fixed javascript getMonth() to getMonth()+1