Local storage with jQuery cookie fallback