Corrected isLeapYear function in days.js, it failed for years like 1600 and 2000