Fix timezones with JavaScript