[#50344125] Added javascript check

- Added javascript to check for the expiredays