theme.js: Save theme using localStorage.