adding local storage to karma