Moved localstorage and sessionstorage example JS to separate files and merged in changes by others to v3.0