Got localstorage working with correct JS file pointers.