Here's the new load parameter for your GUI's constructor:
Automatically save
values to localStorage on exit.
The values saved to localStorage will
override those passed to dat.GUI's constructor. This makes it
easier to work incrementally, but localStorage is fragile,
and your friends may not see the same values you do.