Porting over fixed from the OG code including IE event handler, only having a selected date on the month its selected on, no longer skipping january when going forward months, accounting for timezone offset in dates and general code clean up