Added failsafe for wb-disable localStorage check where localStorage doesn't exist