Fixed month display error - JavaScript getMonth starts from 0