new storageapi js lib