Put holiday schedule logic into separate javascript file.