add ws and jstorage