add getMonthName and getDayName functions to Date prototype