updating .js with functions for seasonal changes