Calculates the Gregorian and Julian dates of Easter using JavaScript