web storage adapter checks for null. AEROGEAR-1076