Changed localstorage -> localStorage