Fix jshint warnings in local storage.