some bootstrap work

also some slight rearranging of JS, will now be found in timers.js ui.js
and storage.js