So I did found the problem with the method that package uses for detecting the leap year. its using two methods:
algorithmic
astronomical
in which algorithmic was detecting leap year wrong and astronomical detect it correctly. So in min.js file related to javaScripts of the package i just change one variable which get leapYear method from argument to hard coded "astronomical" and the issue gone away.